home *** CD-ROM | disk | FTP | other *** search
/ Delphi Informant Complete 1995 - 2000 / Delphi Informant Complete 1995 to 2000.iso / Delphi Informant Magazine Complete Works SOURCE CODE 1995.rar / 1995 / MAY / Ge9505 / cust2.pas < prev    next >
Pascal/Delphi Source File  |  1995-03-10  |  597b  |  34 lines

  1. unit Cust2;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, WinTypes, WinProcs, Messages,
  7.   Classes, Graphics, Controls, Forms, Dialogs;
  8.  
  9. type
  10.   CustComp2 = class(TComponent)
  11.   private
  12.     { Private declarations }
  13.     FDemoProp: Integer;
  14.   protected
  15.     { Protected declarations }
  16.   public
  17.     { Public declarations }
  18.     property DemoProp: Integer read  FDemoProp
  19.                                write FDemoProp;
  20.   published
  21.     { Published declarations }
  22.   end;
  23.  
  24. procedure Register;
  25.  
  26. implementation
  27.  
  28. procedure Register;
  29. begin
  30.   RegisterComponents('Custom', [CustComp2]);
  31. end;
  32.  
  33. end.
  34.